package com.nit.ehcache.dto;

import org.springframework.cache.CacheManager;
import org.springframework.cache.jcache.JCacheCacheManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author :fjw
 * @description:TODO
 * @date :2020/11/5 19:39
 */
@Configuration
public class EhcacheConfig {
	//@Bean
	public CacheManager cacheManager() {

		return new JCacheCacheManager();
	}
}
